package com.ruoyi.hire.domain;


import lombok.Data;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

@Data
public class HireNotice extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 招聘启事标题 */
    @Excel(name = "招聘启事标题")
    private String title;

    /** 招聘启事内容 */
    @Excel(name = "招聘启事内容")
    private String content;

    /** 起始有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起始有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationStartTime;

    /** 结束有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expirationEndTime;

    /** 所属用人单位 */
    @Excel(name = "所属用人单位")
    private Long companyId;

    /** 查看次数 */
    @Excel(name = "查看次数")
    private Long click;

    /** 状态（-1回退,1正常,0待审核,2后台添加） */
    @Excel(name = "状态", readConverterExp = "-=1回退,1正常,0待审核,2后台添加")
    private Long status;

    /** 回退意见 */
    @Excel(name = "回退意见")
    private String backOpinion;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkTime;
}
